package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

@TableName(value = "common_department")
public class Department implements java.io.Serializable{
    @TableId(type = IdType.INPUT)
    private Integer departmentId;
    private Integer parentDepartmentId;
    private String departmentCode;
    private String departmentName;
    private String departmentDsc;
    private Integer departmentTypeId;
    private Integer companyId;
    private Integer leaderId;
    private Integer viceLeaderId;
    @TableField(fill = FieldFill.INSERT)
    private	Integer	isDelete;;
    private String levelCode;

    public Department(){

    }
    public Department(Integer departmentId, Integer parentDepartmentId, String departmentCode, String departmentName, String departmentDsc, Integer departmentTypeId, Integer companyId, Integer leaderId, Integer viceLeaderId, Integer isDelete,String levelCode) {
        this.departmentId = departmentId;
        this.parentDepartmentId = parentDepartmentId;
        this.departmentCode = departmentCode;
        this.departmentName = departmentName;
        this.departmentDsc = departmentDsc;
        this.departmentTypeId = departmentTypeId;
        this.companyId = companyId;
        this.leaderId = leaderId;
        this.viceLeaderId = viceLeaderId;
        this.isDelete = isDelete;
        this.levelCode=levelCode;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getParentDepartmentId() {
        return parentDepartmentId;
    }

    public void setParentDepartmentId(Integer parentDepartmentId) {
        this.parentDepartmentId = parentDepartmentId;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDepartmentDsc() {
        return departmentDsc;
    }

    public void setDepartmentDsc(String departmentDsc) {
        this.departmentDsc = departmentDsc;
    }

    public Integer getDepartmentTypeId() {
        return departmentTypeId;
    }

    public void setDepartmentTypeId(Integer departmentTypeId) {
        this.departmentTypeId = departmentTypeId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Integer leaderId) {
        this.leaderId = leaderId;
    }

    public Integer getViceLeaderId() {
        return viceLeaderId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public void setViceLeaderId(Integer viceLeaderId) {
        this.viceLeaderId = viceLeaderId;
    }

    public String getLevelCode() {
        return levelCode;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }






}
